package cn.fzm.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Dremeue
 * @create 2019-09-29 18:03
 **/
@Controller
public class HelloController {

    @RequestMapping(path = "/hello")
    public String hello() {
        System.out.println("Hello SpringMVC");
        return "success";
    }
}
